package day1;

import java.time.LocalDate;

public class TestResult {
    public static void main(String[] args) {
        Teacher com = Client.getCom(new Teacher());


        Person result = Client.getResult(new Person());

        // 不行
        Integer comparableAndSer = Client.getComparableAndSer(1);


        ATeacher aTeacher=new ATeacher();
        Teacher teacher = Client.get(aTeacher);


        LocalDate of = LocalDate.of(2022, 7, 26);
        System.out.println(of instanceof  Comparable);
        LocalDate comparable = Client.getComparable(of);
        System.out.println(comparable.getMonth());



    }
}
